package com.zzxy.spring34.service.impl;

import com.zzxy.spring34.service.IUservice;
import org.springframework.stereotype.Component;

@Component
public class UserServiceimpl implements IUservice{
    public UserServiceimpl(){

    }
    public UserServiceimpl(String username){
        this.username = username;
    }

    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username){
        this.username = username;
    }
    @Override
    public void addUser() {
        //todo user add biz
        System.out.println("add user success..."+username);
    }
}
